home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 September / PCWorld_2002-09_cd.bin / Software / Vyzkuste / psi / Psi086w32.exe / {app} / Install.txt < prev    next >
Encoding:
Text File  |  2002-07-08  |  2.5 KB  |  83 lines

  1. Installation
  2. ------------
  3.  
  4. If this is a source package, then you need to compile before installing.
  5. Skip down to the "Compiling" section in that case.
  6.  
  7. Otherwise, proceed to to the following installation instructions:
  8.  
  9. * Linux / Unix
  10.  
  11. Make sure you are root and type:
  12.  
  13.   ./install.sh
  14.  
  15. That will install the program.  Have a look at the 'install.sh'
  16. file yourself if you want to see what it does (it's only like 20 lines).
  17.  
  18. That's it!  You're done!
  19. Once installed, launch the program by running "psi"
  20.  
  21. * Windows
  22.  
  23. There isn't really any installation for Windows.  You can simply just
  24. run the Psi executable.  You might want to move everything into
  25. C:\Program Files\Psi
  26.  
  27. * MacOS X
  28.  
  29. Just run the Psi "executable package" thing.  No installation required.
  30.  
  31.  
  32. Compiling
  33. ---------
  34.  
  35. Requirements:
  36.   - Qt 3.0.5 mulithreaded, nothing less!
  37.   - zlib 1.1.4 or compatible
  38.  
  39. You can obtain Qt at http://www.trolltech.com/
  40.  
  41. To build Psi, do:
  42.  
  43.   % cd src
  44.   % qmake psi.pro
  45.   % make
  46.  
  47. (Do not stop here.  Please read the rest of this file.)
  48.  
  49. If you get an error running qmake, then you don't have a proper Qt3
  50. development environment setup.  Please make sure you have Qt3 installed,
  51. and direct any questions towards the package maintainer of wherever you
  52. got Qt3.  Please don't ask me how to setup Qt3, I get enough mail already.
  53.  
  54. Now, if the compile fails, then you're allowed to email me :)
  55.  
  56. Notes about compiling:
  57.     * As of 0.8.6, Psi requires threading, so make sure you have the
  58.       multithreaded version of Qt installed (libqt-mt).
  59.  
  60.     * Some systems don't have a separate libXss library (like
  61.       Solaris).  In this case it is safe to remove the -lXss line from
  62.       psi.pro.
  63.  
  64.     * Some systems might not have XScreenSaver at all.  In this case,
  65.       remove -lXss from psi.pro, and also #define NO_PS_IDLE in idle.cpp.
  66.  
  67.     * If you wish Psi to use a different base than /usr/local/psi, then
  68.       you need to modify PATH_BASE in src/common.cpp before compiling.
  69.  
  70.     * Under Windows, you may need to use a different 'make' command.
  71.       Ie, for Visual C++, you need to run 'nmake'.  You will also need
  72.       to copy the idleui.dll file (from the src/win32 directory) and
  73.       put it in the same directory as the Psi.exe executable.
  74.  
  75. Alright, if the compile succeeded, you should have an executable called
  76. "psi" in the src folder.  Move it down to the base folder:
  77.  
  78.   % mv psi ..
  79.   % cd ..
  80.  
  81. Ok now you can go back up to the Installation instructions.
  82.  
  83.